home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
DESKLIBC
/
SOURCES.ZIP
/
DeskLib
/
!DLSources
/
Libraries
/
Drag
/
c
/
DragInit
next >
Wrap
Text File
|
1994-04-01
|
1KB
|
35 lines
/*
#### # # # #
# # # # # The FreeWare C library for
# # ## ### # # # # ### RISC OS machines
# # # # # # # # # # # ___________________________________
# # #### ### ## # # # #
# # # # # # # # # # Please refer to the accompanying
#### ### #### # # ##### # ### documentation for conditions of use
________________________________________________________________________
File: Drag.DragInit.c
Author: Copyright © 1994 Jason Williams
Version: 1.00 (06 Feb 1994)
Purpose: Initialise the drag system for use with the Event sublibrary
If you are not using Event_ then you'll need to set up these
two handlers in an appropriate manner for yourself.
*/
#include "DeskLib:Core.h"
#include "DeskLib:Wimp.h"
#include "DeskLib:Drag.h"
#include "DeskLib:Event.h"
#include "DeskLib:Handler.h"
extern void Drag_Initialise(BOOL attachNULLhandler)
{
if (attachNULLhandler)
Event_Claim(event_NULL, event_ANY, event_ANY, Handler_DragNULL, NULL);
Event_Claim(event_USERDRAG, event_ANY, event_ANY, Handler_DragFinish, NULL);
}